home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr12 / v93n03y.zip / V93N034.IBM < prev    next >
Internet Message Format  |  1993-05-05  |  29KB

  1. From:    WF02::IN%"Info-IBMPC%wsmr-simtel20.ARMY.mil@WS5.CIS.TEMPLE.EDU"  9-MAR-1993 01:43:36.64
  2. To:    James Gerber <GERBER@TMPLCIS.BITNET>
  3. CC:    
  4. Subj:    Info-IBMPC Digest V93 #34
  5.  
  6. Return-path: $$INFOPC
  7.  <@WS5.CIS.TEMPLE.EDU:$$INFOPC%VM.TEMPLE.EDU@RICEVM1.BITNET>
  8. Received: from JNET-DAEMON by GRAD.CIS.TEMPLE.EDU; Tue, 9 Mar 93 00:40 EST
  9. Received: From TEMPLEVM(MAILER) by TMPLCIS with Jnet id 5116 for
  10.  GERBER@TMPLCIS; Tue,  9 Mar 93 00:40 EDT
  11. Received: from TEMPLEVM.BITNET (NJE origin LISTSERV@TEMPLEVM) by VM.TEMPLE.EDU
  12.  (LMail V1.1d/1.7f) with BSMTP id 6111; Tue, 9 Mar 1993 00:40:21 -0500
  13. Date: Sat, 6 Mar 1993 00:58:05 GMT+1
  14. From: Info-IBMPC Digest <Info-IBMPC%wsmr-simtel20.Army.mil@WS5.CIS.TEMPLE.EDU>
  15. Subject: Info-IBMPC Digest V93 #34
  16. Sender: Info-IBMPC redistribution list <$$INFOPC@RICEVM1.BITNET>
  17. To: James Gerber <GERBER@TMPLCIS.BITNET>
  18. Reply-to: Info-IBMPC%wsmr-simtel20.ARMY.mil@WS5.CIS.TEMPLE.EDU
  19.  
  20. Info-IBMPC Digest           Sat,  6 Mar 93       Volume 93 : Issue  34
  21.  
  22. Today's Editor:
  23.          Gregory Hicks - Rota Spain <GHICKS@wsmr-simtel20.Army.Mil>
  24.  
  25. Today's Topics:
  26.            Administrivia: SIMTEL20 subdirectory name changes
  27.              32-BIT FAST SVGA Viewer now available (2 msgs)
  28.                 486DX/33MHz *will* run at 40 MHz...but?
  29.                  deleting NON-DOS partitions with fdisk
  30.                   Diskette read errors and data loss.
  31.              DOS 5.0 dosshell task swapper problem (2 msgs)
  32.                 Flushing software disk caches (2  msgs)
  33.               how to send a clear screen code to a vt 100
  34.                        Info On Software For Hp95
  35.               In what ways is SIO.SYS better that COM.SYS?
  36.                     MS-DOS 5.0 Environment variables
  37.                 need os/2 drivers for IBM music feature
  38.                  Stacker Drive write-protected somehow
  39.  
  40. Send Replies or notes for publication to: <INFO-IBMPC@brl.mil>
  41.  
  42. Send requests of an administrative nature (addition to, deletion from
  43. the distribution list, et al) to: <INFO-IBMPC-REQUEST@brl.mil>
  44.  
  45. Addition and Deletion requests for UK readers should be sent to:
  46. <INFO-IBMPC-REQUEST@DARESBURY.AC.UK>
  47.  
  48. Archives of past issues of the Info-IBMPC Digest are available by FTP
  49. ONLY from WSMR-SIMTEL20.ARMY.MIL in directory PD2:<ARCHIVES.IBMPC>.
  50.  
  51. ----------------------------------------------------------------------
  52.  
  53. Date: Mon, 22 Feb 1993 11:34:15 -0500 (EST)
  54. From: Keith Petersen - MACA WSMR <w8sdz@tacom-emh1.army.mil>
  55. Subject: Administrivia: SIMTEL20 subdirectory name changes
  56.  
  57. Effective immediately the following WSMR-SIMTEL20.Army.Mil
  58. subdirectories have been renamed:
  59.  
  60.       Old Name               New Name
  61. PD1:<MSDOS.ARC-LBR>      PD1:<MSDOS.ARCHIVERS>
  62. PD1:<MSDOS.TROJAN-PRO>   PD1:<MSDOS.VIRUS>
  63.  
  64. This corresponds to the following on OAK.Oakland.Edu:
  65.  
  66.       Old Name               New Name
  67. /pub/msdos/arc-lbr       /pub/msdos/archivers
  68. /pub/msdos/trojan-pro    /pub/msdos/virus
  69.  
  70. Keith
  71. --
  72. Keith Petersen
  73. Maintainer of the MS-DOS archive at WSMR-SIMTEL20.Army.Mil [192.88.110.20]
  74. Internet: w8sdz@TACOM-EMH1.Army.Mil     or      w8sdz@Vela.ACS.Oakland.Edu
  75. Uucp: uunet!umich!vela!w8sdz                         BITNET: w8sdz@OAKLAND
  76.  
  77. ------------------------------
  78.  
  79. Date: 16 Feb 93 14:30:48 GMT
  80. From: Turgut Kalfaoglu <TURGUT%frmop11.bitnet@BRL.MIL>
  81. Subject: 32-BIT FAST SVGA Viewer now available
  82.  
  83. I am happy to announce that I have just uploaded the FASTEST GIF viewer
  84. available today to ftp-os2.nmsu.edu.It is in /pub/uploads directory.
  85. The filename is GIF32V10.ZIP.
  86.  
  87. The author, Joe Armengau <joe2@vnet.ibm.com> has asked me to upload it
  88. and to let you all know about it.
  89.  
  90. The program is a 32-bit application that uses pre-fetching and
  91. pre-decoding to speed up the display of the GIF files. It supports all
  92. modes available to your card -- but you have to run the SVGA ON
  93. command from a full-screen DOS prompt (once) to let the program know of
  94. your SVGA modes..
  95.  
  96. Regards, -turgut
  97.  
  98. ------------------------------
  99.  
  100. Date: 17 Feb 93 15:07:36 GMT
  101. From: joe2@vnet.ibm.com
  102. Subject: 32-BIT FAST SVGA Viewer now available
  103.  
  104.  Darrel Hankerson writes:
  105. > Turgut Kalfaoglu <TURGUT@FRMOP11.BITNET> writes:
  106. >>upload of Armengaud's viewer to hobbes~
  107. >>It supports all modes available to your card -- but you have to run
  108. >>the SVGA ON command from a full-screen DOS prompt (once) to let the
  109. >>program know of your SVGA modes..
  110.  
  111. >Is this accurate? I have a paradise with 512k (which can do
  112. >640x480x256 with cshow, Windows, ect.). This is not a supported card in
  113. >the OS/2 2.1 beta (I think Sipples has said that 512K usually means
  114. >no-go in OS/2 svga modes.)
  115.  
  116. A lot of problem have indeed been reported with 512Kb adapters.
  117. Hopefully those problems will be fixed in the 2.1 Golden version.
  118.  
  119. >But svga does recognize the modes. Armengaud's viewer, however doesn't
  120. >seem to like 640x480x256 (I get a blank full-screen session; if I esc,
  121. >then I never return to this blank screen).
  122.  
  123. >His viewer does work (fast!) in 320x200x256.  Any comments?  Is the
  124. >precise stmt "...all modes REALLY supported by OS/2" ?
  125.  
  126. Yes, exactly: this is really "all modes supported by BVHSVGA.DLL".
  127. Available modes are read directly from the the SVGADATA.PMI.  Then the
  128. VioSetMode() API is used to switch to these modes.  This API is
  129. implementeducn BVHSVGA.DLL (or BVHVGA.DLL, if SVGA is OFF).
  130.  
  131. And ALSO A VERY IMPORTANT PRECISION, since it was not very clear: it
  132. only supports SVGA adapters, not coprocessor-based one, like XGA, 8514,
  133. S3.... Of course if you send me an ISA XGA-2 adapter, I will support it
  134. in the next hour :-))
  135.  
  136.      -Joel Armengaud
  137.  
  138. ------------------------------
  139.  
  140. Date: 10 Feb 93 03:37:15 GMT
  141. From: james shoemaker <james@george.uucp>
  142. Subject: 486DX/33MHz *will* run at 40 MHz...but?
  143.  
  144. francis@ac.dal.ca writes:
  145.  
  146. > Last week I posed the question:  Can a 486DX/33MHz machine be *made* to run
  147. > at 40MHz or even 50MHz?
  148. >
  149. > The responses varied from "No way, Don't do it!" to "Definitely."
  150. >The general concensus was YES, A 486DX/33MHz CAN DO 40MHz PROVIDED
  151. >ADEQUATE COOLING IS PROVIDED.  It was suggested that a heat sink be
  152. >mounted on the 486 and a good fan be used to dissipate the heat.  I
  153. >even heard from some who actually made upgrades to their 286 and 386
  154. >systems in this way, with success.  However, I heard from NOBODY who
  155. >did this to their 486.  So, before I make the plunge, who, if anybody,
  156. >out there has *actually* made this modification to their 486DX/33MHz
  157. >machine, that is, who replaced the 33 MHz oscillator in their 33MHz
  158. >machine with a 40 MHz oscillator, and can still talk about it???  In
  159. >theory, it would seem that the CPU would just run a bit hotter because
  160. >of the faster switching times.  Mind you, the 486 does get hot enough
  161. >to fry an egg on already!
  162.  
  163.         I am currently running such a beast, though I am not
  164. responsible for its creation.  I bought it from a manufacturer who
  165. before the invention of the DX50 took the CPU's they bought and sorted
  166. out the ones that would go 40Mhz then added this nifty heat-sink/fan
  167. assembly then sold them as 40Mhz 486's.  I have had no problems with
  168. mine so far, in fact with the fan and heat sink the CPU runs cooler
  169. than the 486-25 I used to use at work (Upgraded to a 50 that runs hot
  170. enough to blister now).  One caviat, When you increase the clock either
  171. you need to insert more wait-states in the RAM's or go to faster DRAMS
  172. (My 40 uses 60NS SIMMS), in fact you may have to insert 1 wait state
  173. into some of the slower CACHE memory chips, at least my 50 at work
  174. needs 1 wait state on the SRAM cache to run.
  175.  
  176.        Hope that is the kind of information you wanted, It can be done,
  177. but be careful.
  178.  
  179.                                                JWS
  180.  
  181. ------------------------------
  182.  
  183. Date: 20 Feb 93 07:06:54 GMT
  184. From: Jen Kilmer <jenk@microsoft.com>
  185. Subject: deleting NON-DOS partitions with fdisk
  186.  
  187. grtorlba@sumax.seattleu.edu (Jojie R. T.) writes:
  188. jenk@microsoft.com (Jen Kilmer) writes:
  189. >>
  190. >>>How do you get rid of a non DOS partition without a low level format?
  191. >>
  192. >>Use Norton's or something similar to directly edit the partition table.
  193. >>Or, Microsoft msdos support has written instructions on how to erase all
  194. >>partitions using debug, I could post it if people want.
  195. >
  196. >Why not have them try fdisk /mbr first instead of going out and trying to
  197. >locate a Norton's or something.
  198.  
  199. "or something"? Debug is _in_ dos. I find it quite handy for editing
  200. partitions.
  201.  
  202. >Coming from Microsoft, I'm surprised you
  203. >didn't offer this as a possible solution.
  204.  
  205. Hmmm. You cut out my instructions on using the msdos 5 fdisk to delete
  206. a non-dos partition...a feature added in 5, btw...and the /mbr switch
  207. was added in 5 too.  Not that the /mbr switch strictly exists to erase
  208. partition table data. Normally it doesn't.  All of which makes me
  209. wonder what your point is ;)
  210.  
  211. What fdisk /mbr does do is write microsoft's version of the master boot
  212. code, which is the code that figures out which partition is bootable
  213. and tries to boot from that partition.  It's not supposed to erase
  214. partition table entries.
  215.  
  216. /Mbr can erase partition table entries by ACCIDENT, if you partitioned
  217. other than plain fdisk (specially modified fdisk from hardware
  218. manufacturer, or Disk Manager, etc) and a partition entry ended up
  219. where fdisk is writing the boot code, or if the "55 AA" partition table
  220. signature is missing.  /Mbr can also seriously hose any system with a
  221. proprietary type of master boot code - lots of hard disk security
  222. programs use these, so do some dual-boot systems. For example, some pc
  223. flavors of unix need more than just a 1-sector bootstrap loaded by the
  224. master boot code, and microsoft's loads on the 1st sector.
  225.  
  226. The 5.0 upgrade setup program is much more careful about this (detects
  227. extra partition table entries and some proprietary mbrs) BEFORE it
  228. writes the same boot code that fdisk /mbr does. It also makes a backup
  229. of the old boot code on the uninstall disk, and uninstalling will put
  230. the old code back...something which has come in handy more than once.
  231. Of course, installing 5 to floppy and then manually installing to the
  232. hard disk avoids changing the mbr.
  233.  
  234. None of this should be considered official microsoft commentary.
  235.  
  236. -jen
  237.  
  238. --
  239. jenk@microsoft.com
  240. #include <stdisclaimer>
  241. msdos testing
  242.  
  243. ------------------------------
  244.  
  245. Date: 18 Feb 93 11:53:41 GMT
  246. From: Frank Slootweg CRC <franks@hpuamsa.neth.hp.com>
  247. Subject: Diskette read errors and data loss.
  248.  
  249.   Since there were no more responses in about two weeks, it is probably
  250. the right time to post a summary of the News and e-mail responses,
  251. along with my own additional findings.
  252.  
  253. Summary :
  254. =========
  255.  
  256.   A summary of the responses, with some comments from me:
  257.  
  258. - Most responses indicated a possible problem in the diskette
  259.   drive/controller/cable *when writing* :
  260.   - Drive (2 responses).
  261.   - Controller (2).
  262.   - Power supply (1).
  263.   - Loose controller cable (1).
  264.   - Broken controller cable (1).
  265.   - Weak write signal (1).
  266.   - Bad writes after long seeks (1).
  267.     I wrote a program which does the following:
  268.     - seek to (logical) track 159, write/read/compare
  269.     - seek to track   0, write/read/compare
  270.     - seek to track 158, write/read/compare
  271.     - seek to track   1, write/read/compare
  272.     - etc.
  273.     This program gave no errors on a TDK disk. I did not try this test
  274.     on any of the disks which had been bad before.
  275.   - Revolution speed (1).
  276.     I checked the revolution speed with the "Test Drive" (TESTDR14.ZIP)
  277.     "Comprehensive floppy drive diagnostics utility" program from SIMTEL
  278.     (directory PD1:<MSDOS.DSKUTL). The revolution speed was exactly 300
  279.     RPM (as it should be).
  280.   - Dirty environment/head (3).
  281. - Broken DMA controller (1).
  282. - Magnetic fields, diskettes too close to monitor (1).
  283.   Not applicable (see previous response in News).
  284.  
  285.   I do not want to discard any of the above mentioned possiblities, but
  286. none of them can explain why I have problems, while my son does not
  287. have any problems with the same system, same brands of diskettes and
  288. same "exchange with other systems" behaviour.
  289.  
  290. New information:
  291.  
  292.   *New information* which I have not posted before (because I did not
  293. realize/know) :
  294.  
  295. - All but one of the bad sectors were on (physical) tracks ranging from
  296. track 42 through 79. One bad sector was on track 8.  Since higher
  297. numbered tracks have a smaller diameter than lower numbered tracks, the
  298. density per unit of length is higher, which again might indicate a
  299. problem in the drive.
  300.  
  301. - *All* of the bad sectors were on head/side 1 (other head/side is 0)!
  302. This might indicate a dirty/misaligned head 1, but again it does not
  303. explain why my son does not have problems, and why I have problems with
  304. diskettes which were written on my system, but can exchange diskettes
  305. with other systems just fine (When a head is misaligned, one can
  306. normally read a diskette on the system on which it was written, but
  307. exchanging diskettes may give problems.).
  308.  
  309. How to "verify the 'fix'"?
  310.  
  311.   As said before, I can not determine if any of the above possiblities
  312. is the cause, because the interval between one diskette going bad and
  313. the next (or the same) diskette going bad is too long, weeks to months.
  314.  
  315. Options:
  316.  
  317.   The only, not very attractive, options I (think I) have are:
  318.  
  319. - Buy a special Dysan diagnostic disk (about $60) and the full version
  320. of "Test Drive" (about $50, the version on SIMTEL can only fully test
  321. 360KB/5.25" drives). This should be able to tell if my drive is OK or
  322. not, including alignment, etc.. For this money I might as well buy a
  323. new diskette drive, BUT :
  324.  
  325. - Buy a new diskette drive. However, who will guarantee me that this
  326. drive is OK? My existing drive takes weeks/months to fail, how can
  327. anyone prove that the new drive is good/better?  Also, as some of the
  328. respondents said, the problem *may* be in the controller, cable, DMA
  329. controller, or power supply. I can of course not justify to replace all
  330. of these too.
  331.  
  332. Conclusion:
  333.  
  334.   Again I can only assume/conclude that:
  335.  
  336. - I have just a bad batch of JVC diskettes (all but one with batch
  337. number H971458RY, and one with (probably, hard to read) batch number
  338. H972688RY),
  339.  
  340. - and just one bad TDK diskette (with batch number JB907B0106),
  341.  
  342. - while my son just has one diskette from the "bad" JVC batch
  343. (H971458RY), which until now did not give a problem.
  344.  
  345.   Thanks for all the responses. If anyone has anything to add, suggest,
  346. comment, etc., then please speak up.
  347.  
  348. Frank Slootweg
  349.  
  350. ------------------------------
  351.  
  352. Date: 14 Feb 93 05:05:14 GMT
  353. From: "Michael C. Bednar" <venger+@pitt.edu>
  354. Subject: DOS 5.0 dosshell task swapper problem.
  355.  
  356. Hi all,
  357.  
  358.         I just finished building a 386sx and loading DOS 5.0. While
  359. exploring this new (to me) operating system, I chanced across dosshell.
  360. The only thing that seemed remotely interesting to me is the task
  361. swapper so I tried to run it. The only problem is that when I return to
  362. a swapped task from dosshell, all I get is a blank, grey screen. When I
  363. delete the task, DOS reports that it is still active. My system config
  364. is as follows:
  365.  
  366.         386sx-33 mb w/4 megs ram, I have EMM386 installed with the the
  367. commandline option of 3072. I have HIMEM.SYS installed.  My display is
  368. a Packard Bell EGA freq. switching monitor and a Legacy Renaissance
  369. card w/256k. This card also has an inport mouse port that I am using
  370. with DOS's mouse.com mouse driver.  Since I am using EGA I have EGA.SYS
  371. installed. I am using DOS's ANSI.SYS ansi driver.
  372.  
  373. I have tried moving EGA.SYS into high memory, low memory and even
  374. leaving it out. I have tried different ansi drivers. I have tried
  375. reconfiguring EMM386 in case dosshell was looking for XMS memory. I
  376. have tried running dosshell in different screen modes (text and
  377. graphic). Every case leaves me with the same problem. I start a task,
  378. CTRL-ESC back to dosshell and when I re-select the task, all I get is a
  379. blank, grey screen. I can switch back to dosshell with no problems.
  380.  
  381.         Anyone have any ideas or heard of a possible fix that I've
  382. overlooked?
  383.                                                 Snuffy
  384.  
  385. | Internet: venger+@pitt.edu  venger@vms.cis.pitt.edu  Bitnet: VENGER@PITTVMS |
  386.  
  387. ------------------------------
  388.  
  389. Date: 16 Feb 93 01:11:20 GMT
  390. From: Joe Morris <jcmorris@mwunix.mitre.org>
  391. Subject: DOS 5.0 dosshell task swapper problem.
  392.  
  393. venger+@pitt.edu (Michael C. Bednar) writes:
  394.  
  395. >       I just finished building a 386sx and loading DOS 5.0. While
  396. >exploring this new (to me) operating system, I chanced across dosshell.
  397. >The only thing that seemed remotely interesting to me is the task
  398. >swapper so I tried to run it. The only problem is that when I return to
  399. >a swapped task from dosshell, all I get is a blank, grey screen. When I
  400. >delete the task, DOS reports that it is still active. My system config
  401. >is as follows:
  402.  
  403. Check to see if you have the fixed version of DOSSWAP.EXE on your
  404. system.  The fixed copy should carry a date later than 4-9-91.  The
  405. actual date of a fixed version may vary depending on how you got it.
  406. The file fixes some failures involved in DOSSHELL swapping.
  407.  
  408. The fix should be available from MS; ask for MS-DOS tech note PD0445.
  409.  
  410. Joe Morris / MITRE
  411.  
  412. ------------------------------
  413.  
  414. Date: 22 Feb 93 02:18:00 GMT
  415. From: Jeremy Laidman <j.laidman@cowan.edu.au>
  416. Subject: Flushing software disk caches
  417. Keywords: cache
  418.  
  419. robjung@world.std.com (Robert K Jung) writes:
  420.  
  421. >I would like to know if there is a standard MSDOS function that will
  422. >cause any resident disk cache like PCKWIK or SMARTDRIVE to flush their
  423. >contents to the physical drive.  This is especially important when
  424. >writing data to a floppy disk.  I have been experimented with DOS 0x0D
  425. >disk reset, but I do not know if disk caches will cooperate with the
  426. >MSDOS buffer flush.
  427.  
  428. The bios interrupt to reset the harddrive works for most cache
  429. programs, there is a notable exception in Norton Utilities NCACHE.
  430. Ralf Brown's next interrupt list will include my additions regarding
  431. this.  Essentially, the Norton utilities have their own int 2F handler,
  432. which you call with all sorts of perculiar parameters.  By
  433. trial-and-error I found the call to flush the NCACHE buffers.
  434.  
  435.     mov ax,0xFE00h      ; install check
  436.     mov di,'NU' ; norton utilies
  437.     mov si,'CF' ; ncache-f
  438.     int 2Fh
  439.     cmp si,'cf'
  440.     jne noCache
  441.  
  442.     mov ax,0xFE03h      ; flush for ncache-f
  443.     mov di,'NU'
  444.     mov si,'CF'
  445.     int 2Fh
  446.  
  447. :noCache
  448. ; now do the bios HD reset
  449.  
  450. It's a pity Norton didn't hook the bios reset, I think all caches
  451. should do this.
  452.  
  453. Hope this helps
  454.  
  455. Jeremy Laidman, Analyst Programmer
  456. School of I.T. and Mathematics                 Phone: (61 9) 370 6648
  457. Edith Cowan University                         Fax:   (61 9) 370 2910
  458. Perth, Western Australia                       j.laidman@cowan.edu.au
  459.  
  460. ------------------------------
  461.  
  462. Date: 22 Feb 93 03:31:47 GMT
  463. From: Stan Brown <brown@ncoast.org>
  464. Subject: Flushing software disk caches
  465. Keywords: cache
  466.  
  467.  robjung@world.std.com (Robert K Jung) writes:
  468. >I would like to know if there is a standard MSDOS function that will
  469. >cause any resident disk cache like PCKWIK or SMARTDRIVE to flush their
  470. >contents to the physical drive.  This is especially important when
  471. >writing data to a floppy disk.  I have been experimented with DOS 0x0D
  472. >disk reset, but I do not know if disk caches will cooperate with the
  473. >MSDOS buffer flush.
  474.  
  475. It is not clear to me whether you mean "standard DOS function" in the
  476. sense of something you call with INT 21, or in the sense of a command
  477. that the user would type.  In the latter sense, the answer is RTFM.
  478. For example, "smartdrv /c" will do this if the cache program is
  479. SMARTDRV.
  480.  
  481. In the former sense, INT 21-something, I believe the FAQ covers all the
  482. bases.  Here's the relevant section, from Q701:
  483.  
  484.     There are two methods of signaling the cache to flush its buffers:
  485. (1) simulate a keyboard Ctrl-Alt-Del in the keystroke translation
  486. function of the BIOS (INT 15 function 4F), and (2) issue a disk reset
  487. (DOS function 0D).  Most disk-cache programs hook one or both of those
  488. interrupts, so if you use both methods you'll probably be safe.
  489.  
  490.     When user code simulates a Ctrl-Alt-Del, one or more of the
  491. programs that have hooked INT 15 function 4F can ask that the key be
  492. ignored by clearing the carry flag.  For example, HyperDisk does this
  493. when it has started but not finished a cache flush.  So if the carry
  494. flag comes back cleared, the boot code has to wait a couple of cluck
  495. ticks and then try again.  (None of this matters on older machines
  496. whose BIOS can't support 101- or 102-key keyboards; see "What is the
  497. SysRq key for?" in section 3, "Keyboard".)
  498.  
  499.     Here's C code that tries to signal the disk cache (if any) to flush:
  500.  
  501.         #include <dos.h>
  502.         void bootme(int want_warm)  /* arg 0 = cold boot, 1 = warm */ {
  503.             union REGS reg;
  504.             void    (far* boot)(void) = (void (far*)(void))0xFFFF0000UL;
  505.             unsigned far* boottype    =     (unsigned far*)0x00400072UL;
  506.             char     far* shiftstate  =         (char far*)0x00400017UL;
  507.             unsigned      ticks;
  508.             int           time_to_waste;
  509.             /* Simulate reception of Ctrl-Alt-Del: */
  510.             for (;;) {
  511.                 *shiftstate |= 0x0C;    /* turn on Ctrl & Alt */
  512.                 reg.x.ax = 0x4F53;      /* 0x53 = Del's scan code */
  513.                 reg.x.cflag = 1;        /* sentinel for ignoring key */
  514.                 int86(0x15, ®, ®);
  515.                 /* If carry flag is still set, we've finished. */
  516.                 if (reg.x.cflag)
  517.                     break;
  518.                 /* Else waste some time before trying again: */
  519.                 reg.h.ah = 0;
  520.                 int86(0x1A, ®, ®);/* system time into CX:DX */
  521.                 ticks = reg.x.dx;
  522.                 for (time_to_waste = 3;  time_to_waste > 0;  ) {
  523.                     reg.h.ah = 0;
  524.                     int86(0x1A, ®, ®);
  525.                     if (ticks != reg.x.dx)
  526.                         ticks = reg.x.dx , --time_to_waste;
  527.                 }
  528.             }
  529.             /* Issue a DOS disk reset request: */
  530.             reg.h.ah = 0x0D;
  531.             int86(0x21, ®, ®);
  532.             /* Set boot type and boot: */
  533.             *boottype = (want_warm ? 0x1234 : 0);
  534.             (*boot)( );
  535.         }
  536.  
  537. As always, I'm eager to improve this answer; please email me because I
  538. may miss posted material.
  539.  
  540. Stan Brown, Oak Road Systems                    brown@Ncoast.ORG
  541.  
  542. ------------------------------
  543.  
  544. Date: 21 Feb 93 16:48:40 GMT
  545. From: Stan Brown <brown@ncoast.org>
  546. Subject: how to send a clear screen code to a vt 100
  547.  
  548.  ajnuttal@teaching.cs.adelaide.edu.au (Tony Nuttall) writes:
  549. >I'm in the middle of writing an application which has to periodically
  550. >send information through com2 to a number of vt100 terminals.  What i
  551. >need to know is the clear and home screen code for vt100 terminal.
  552.  
  553. You're in luck; the VT100 screens accept all the ANSI codes listed in
  554. your DOS manual under ANSI.SYS (except for setting colors of
  555. course--though reverse video and blinking do work).
  556.  
  557. For clear screen it's (ESC)[2J where (ESC) stands for ASCII 27--don't
  558. include the parens in the string.  This erases the entire screen and
  559. moves the cursor to position 0,0 (upper left).  To move the cursor
  560. without erasing, use (ESC)[line;columnH e.g. "\033[4;20H" moves to line
  561. 5 column 21.  Remember the numbering system is 0-based not 1-based.
  562.  
  563. Stan Brown, Oak Road Systems                    brown@Ncoast.ORG
  564.  
  565. ------------------------------
  566.  
  567. Date: Tue, 23 Feb 93 23:45:09 CET
  568. From: Gianni Piccoli <MC1275@mclink.it>
  569. Subject: Info On Software For Hp95
  570.  
  571. I am looking for software for the HP95 Lx (the small palmtop by Hewlett
  572. Packard).  I have heard that perhaps exists a reduced version of
  573. mathcad for it.  Is it true ?  And if yes where can I find more info
  574. about it ?
  575.  
  576. Thank you for the help.
  577.  
  578. Gianni Piccoli - Cirie - ITALY
  579. (Internet : mc1275@mclink.it )
  580.  
  581. ------------------------------
  582.  
  583. Date: 19 Feb 93 02:21:47 GMT
  584. From: "Robert J. McNamara" <rob@cad4.lbl.gov>
  585. Subject: In what ways is SIO.SYS better that COM.SYS?
  586.  
  587.  baloo@nx01.mik.uky.edu (kevin s coupal) writes:
  588. ->I'm running Qmodem in a dos session under os/2 2.0 with the CSD and
  589. ->have tried every tweaking of the dos settings to get it to stop losing
  590. ->characters when
  591.  
  592. It should completely eliminate character loss for you...it certainly
  593. did for me.  I don't know if Qmodem is Desqview aware, but if it is you
  594. can get an additional (enormous) performace improvement by running
  595. OS2Speed in your dos box.  With the OS2Speed/SIO.SYS combination I'm
  596. able to run {Commo} (a DV aware program) and GSZ (also DV aware) and do
  597. 14.4k transfers in the background and I don't even notice 'em!
  598.  
  599. So get SIO now...it'll be a definite improvement (make sure you get the
  600. latest).
  601.  
  602.  Rob McNamara
  603.  rob@cad4.lbl.gov
  604.  
  605. ------------------------------
  606.  
  607. Date: 11 Feb 93 21:32:30 GMT
  608. From: Thariq U Ahmad <jo95008@black.ox.ac.uk>
  609. Subject: MS-DOS 5.0 Environment variables
  610. Keywords: environment SET
  611. Summary: Want to know the SET variable for DOS 5
  612.  
  613. I'd like to know if anyone out there knows the *full* list of
  614. environment variables that can be set using the SET XXXXXX= command in
  615. the AUTOEXEC.BAT file for MS-DOS 5.0.(i.e. like PATH, PROMPT, DIRCMD
  616. etc.) I know that almost any number of variables can be set depending
  617. on the amount of environment memory set aside and the programs that use
  618. them. But does anyone know all the variables that are used just by DOS
  619. 5? IOW, how much can one tweak by using the SET command?
  620.  
  621. And before anyone tells me to RTFM, I have looked up set, environment
  622. variables and almost all other obvious possibilities in the DOS manual
  623. but have come up fruitless.
  624.  
  625. Thariq Ahmad
  626.  
  627. p.s. My apologies if this is a FAFAQ
  628. --
  629. Thariq Usman Ahmad
  630. St. John's College
  631. Oxford OX1 3JP
  632. United Kingdom
  633.  
  634. ------------------------------
  635.  
  636. Date: Tue, 23 Feb 1993 06:56 CST
  637. From: Richard Warwick <WARWICKR@sluvca.slu.edu>
  638. Subject: need os/2 drivers for IBM music feature
  639.  
  640. A friend of mine has asked me to attempt to locate os/2 drivers for the
  641. IBM MUSIC FEATURE CARD.  Do these exist? Anybody got any specific
  642. ideas.  (filenames and ftp sites appreciated)
  643.  
  644. I've found drivers for the soundblaster in the /pub directory at
  645. ftp-os2.nmsu.edu (AKA HOBBES.nmsu.edu)?  I have looked at
  646. software.watson.ibm.com, but have not found anything for this card.
  647.  
  648. Thanks,
  649. Richard
  650.  
  651. | Richard Warwick, Manager of PC Services
  652. | Saint Louis University
  653. | Medical Center Computing Services
  654. | 1402 South Grand Avenue  C308
  655. | St. Louis  MO  63104
  656.  
  657. ------------------------------
  658.  
  659. Date: Mon, 22 Feb 93 13:21:25 EST
  660. From: Bill Jones <wejones@cbda7.apgea.army.mil>
  661. Subject: Stacker Drive write-protected somehow
  662.  
  663. > I was running windows 3.1 and tried to print to a laser printer.  It
  664. > [...text deleted...]
  665.  
  666. > ( By the way I have stacker installed - so I have aD drive.)
  667. >
  668. > During the intial boot message it said D is write protected run scheck
  669. > /f which is a stacker command.
  670.  
  671. > I ran scheck /f - it complained about a few files and then hung itself.
  672.  
  673. >[... Text deleted...]
  674.  
  675. I had a similar horror story, the first time I tried to use Stacker.
  676. Stacker went about it's business compressing all my files into a
  677. compressed file, then ran into a bad sector, and couldn't complete the
  678. process because it couldn't get the old files out of the way to make a
  679. new stacker disk, then the compressed file it made became corrupted,
  680. and it finally gave up.
  681.  
  682. It said don't panic, read the manual, but every option mentioned in the
  683. manual bombed out with divide by zero errors due to the corrupted
  684. compressed file, so I eventually lost all my data, which didn't make me
  685. too happy.  A friend had a similar occurrance, and had to re-format his
  686. hard drive, although luckily he had a tape backup.
  687.  
  688.   Anyway, I think anyone who is thinking of using Stacker should note
  689. these horror stories, and re-consider.  At the very least, I would
  690. recommend against using Stacker unless you are certain that your hard
  691. drive has no defects, and unless you have a tape backup system, and the
  692. time to use it.  Otherwise it is just a matter of time until Stacker
  693. will eat your data.  With the low cost of hard drives now, it seems
  694. much more cost effective to just get an additional or bigger drive,
  695. IMHO.
  696.  
  697. ------------------------------
  698.  
  699. End of Info-IBMPC Digest V93 #34
  700. ********************************
  701. -------
  702.